@import './theme.scss';

body,
html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.hl-layout-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}


.app-main {
  height: calc(100%);
  width: calc(100% - #{$appMainPadding * 2});
  padding: $appMainPadding;
  display: flex;
  overflow: auto;
  background: #eef1f9;
  margin-top: $tabContainerHeight;
}

.hl-full-container {
  width: 100%;
  height: calc(100% - 1.6rem);
  padding: 0.8rem;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
  background: #fff;
}

.flexVertical {
  display: flex;
  flex-direction: column;
}

.hl-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.hl-header {
  height: $headerHeight;
  padding: $headerPadding;
  background-image: $headerBackground;
  background-size: 100% 100%;
  display: flex;
  align-items: center;

  &>.text {
    font-size: $headerTextSize;
    font-weight: bold;
    text-shadow: 2px 0px 3px rgba(0, 0, 0, 0.5);
    color: $headerTextColor;
  }

  &>.logo {
    height: $logoHeight;
    width: $logoWidth;
    background-image: $logoBackground;
    background-size: 100% 100%;
    margin: 0 1rem 0 0.5rem;
    display: $logoShow;
  }
}

.hl-content {
  display: flex;
  flex-direction: column;
  height: calc(100% - 0px);
  width: 100%;
  -webkit-transition: margin-left 0.28s;
  transition: margin-left 0.28s;
  position: relative;
}


.hl-userName {
  font-size: 1rem;
  top: -0.5rem;
  position: relative;
  margin: 0 10px;
  user-select: none;
  cursor: pointer;
}

.el-drawer__header {
  margin-bottom: 15px !important;
}

.margin-bootom-clear {
  margin-bottom: 0 !important;
}

.padding15 {
  padding: 15px !important
}
//滚动条美化
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #c8c8c8;
}

// elment样式覆盖
.el-drawer-hl {
  position: absolute;
  padding: 7px;
}